/**
 * Lenovo Group
 * Copyright (c) 1999-2016 All Rights Reserved.
 */
package com.lenovo.lmrp.api.model.view;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 
 * @author wujin
 * @version v1.0
 */
public class TicketVO {
    
    /** 工单号 */
    private String ticketid;
    /** 工单受理人 */
    private String assignee;
    /** 故障信息 */
    private String title;
    /** 项目ID或名称 */
    private String project;
    /** 工单优先级 TicketPriority */
    private String priority;
    /** 客户地址 */
    private String caddress;
    /** 工单创建时间 */
    private Date cTime;
    /** 客户地理位置：经度:纬度 */
    private String position;
    private Map<String, Object> status;
    private Map<String, Object> shortcut;
    private double amount;
    /** 服务响应级别：7*24*4 */
    private String respondLevel;
    private List<Date> timers;
    private String[] description;
    private String appstatus;
    private Date overtime;
    /** 评价*/
    private String evaluate;
    private String tickettype;
    private int state;
    private int rework;
    /**工单备注是否被更新  1 是 0 否**/
    private int surveynotechanged;
    /**工单更新未被查看 1 是 0 否**/
    private int changenottobeview;
    /**
	 * @return the rework
	 */
	public int getRework() {
		return rework;
	}
	/**
	 * @param rework the rework to set
	 */
	public void setRework(int rework) {
		this.rework = rework;
	}
	public int getState() {
        return state;
    }
    public void setState(int state) {
        this.state = state;
    }
    public String getAssignee() {
        return assignee;
    }
    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }
    private Map<String, String> others = new HashMap<>();
    
    public String getTicketid() {
        return ticketid;
    }
    public void setTicketid(String ticketid) {
        this.ticketid = ticketid;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getProject() {
        return project;
    }
    public void setProject(String project) {
        this.project = project;
    }
    public String getPriority() {
        return priority;
    }
    public void setPriority(String priority) {
        this.priority = priority;
    }
    public String getCaddress() {
        return caddress;
    }
    public void setCaddress(String caddress) {
        this.caddress = caddress;
    }
    public Date getcTime() {
        return cTime;
    }
    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }
    public String getPosition() {
        return position;
    }
    public void setPosition(String position) {
        this.position = position;
    }
    public Map<String, Object> getStatus() {
        return status;
    }
    public void setStatus(Map<String, Object> status) {
        this.status = status;
    }
    public double getAmount() {
        return amount;
    }
    public void setAmount(double amount) {
        this.amount = amount;
    }
    /**
     * Getter method for property <tt>others</tt>.
     * 
     * @return property value of others
     */
    public Map<String, String> getOthers() {
        return others;
    }
    /**
     * Setter method for property <tt>others</tt>.
     * 
     * @param others value to be assigned to property others
     */
    public void setOthers(Map<String, String> others) {
        this.others = others;
    }
    public String getRespondLevel() {
        return respondLevel;
    }
    public void setRespondLevel(String respondLevel) {
        this.respondLevel = respondLevel;
    }
    public List<Date> getTimers() {
        return timers;
    }
    public void setTimers(List<Date> timers) {
        this.timers = timers;
    }
    public Map<String, Object> getShortcut() {
        return shortcut;
    }
    public void setShortcut(Map<String, Object> shortcut) {
        this.shortcut = shortcut;
    }
    public String[] getDescription() {
        return description;
    }
    public void setDescription(String[] description) {
        this.description = description;
    }
    public String getAppstatus() {
        return appstatus;
    }
    public void setAppstatus(String appstatus) {
        this.appstatus = appstatus;
    }
    public Date getOvertime() {
        return overtime;
    }
    public void setOvertime(Date overtime) {
        this.overtime = overtime;
    }
    public String getEvaluate() {
        return evaluate;
    }
    public void setEvaluate(String evaluate) {
        this.evaluate = evaluate;
    }
    public String getTickettype() {
        return tickettype;
    }
    public void setTickettype(String tickettype) {
        this.tickettype = tickettype;
    }
	/**
	 * @return the surveynotechanged
	 */
	public int getSurveynotechanged() {
		return surveynotechanged;
	}
	/**
	 * @param surveynotechanged the surveynotechanged to set
	 */
	public void setSurveynotechanged(int surveynotechanged) {
		this.surveynotechanged = surveynotechanged;
	}
	/**
	 * @return the changenottobeview
	 */
	public int getChangenottobeview() {
		return changenottobeview;
	}
	/**
	 * @param changenottobeview the changenottobeview to set
	 */
	public void setChangenottobeview(int changenottobeview) {
		this.changenottobeview = changenottobeview;
	}
}
